package com.itheima.ioTest;

import java.io.File;
import java.util.HashMap;
import java.util.Map;

public class test_4 {
    public static void main(String[] args) {
        File file =new File("IO");
        HashMap<String,Integer> hm=new HashMap<>();
        getConut(hm,file);
    }

    private static void getConut(HashMap<String,Integer> hm, File file) {
        String name = file.getName();
        String[] split = name.split("\\.");

    }
}
